<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" />			
		<script src="//cdn.bootcss.com/jquery/1.8.3/jquery.min.js"></script>
		<script type="text/javascript" src="js/bmob-min.js" ></script>
		<script type="text/javascript" src="js/bmob.js" ></script>
		<title></title>
		<style>
			table {background:black;}
			table td{background:#FFF;min-width: 100px;text-align: center;}
		</style>
		<script>
			
		</script>
	</head>
	<body>		
		<p>
			姓名：<input type="text" id="name" placeholder="请输入您的姓名" />
		</p>
		<p>
			人数：<input type="number" id="count" placeholder="填写数字" />
		</p>
		<p>
			消息：<textarea id="msg"></textarea>
		</p>
		<button onclick="add()">添加数据</button>
		<button onclick="selectAll()">查询所有数据</button>
		<table id="result"  border="0" cellspacing="1" cellpadding="10">
			<tr>
				<td>id</td>
				<td>姓名</td>
				<td>来宾人数</td>
				<td>消息</td>
				<td>创建时间</td>				
			</tr>
		</table>
		<p>共有：<span id="length"></span> 条数据</p>
		<p>确定来宾人数：<span id="isComeNum"></span></p>

	</body>
</html>
